-
Home
-
Contextual Related Posts
-
4.1.0 (latest)
-
Code
-
Classes
- Settings_API
| Total Complexity |
100 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
1,014 |
| Lines of code |
511 |
| Logical lines of code |
226 |
| Comment lines |
346 |
| Methods |
26 |
| Properties |
14 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_custom_menu_page() |
A |
41 |
14 |
62 |
| settings_sanitize() |
A |
45 |
11 |
40 |
| settings_defaults() |
A |
49 |
11 |
27 |
| admin_init() |
A |
41 |
6 |
63 |
| get_sanitize_callback() |
A |
52 |
8 |
24 |
| get_capability_for_menu() |
A |
53 |
8 |
22 |
| show_navigation() |
S |
56 |
6 |
16 |
| admin_enqueue_scripts() |
S |
50 |
4 |
34 |
| show_form() |
S |
46 |
2 |
45 |
| admin_menu() |
S |
60 |
4 |
12 |
| __construct() |
S |
55 |
2 |
21 |
| plugin_settings() |
S |
53 |
1 |
31 |
| get_registered_settings_types() |
S |
64 |
3 |
9 |
| admin_footer_text() |
S |
65 |
3 |
8 |
| settings_help() |
S |
64 |
3 |
10 |
| set_props() |
S |
61 |
2 |
13 |
| enqueue_scripts_styles() |
S |
56 |
1 |
20 |
| admin_body_class() |
S |
67 |
2 |
7 |
| get_default_option() |
S |
67 |
2 |
8 |
| set_translation_strings() |
S |
61 |
1 |
13 |
| hooks() |
S |
68 |
1 |
7 |
| set_sections() |
S |
76 |
1 |
4 |
| add_section() |
S |
76 |
1 |
4 |
| set_registered_settings() |
S |
76 |
1 |
4 |
| set_upgraded_settings() |
S |
76 |
1 |
4 |
| settings_reset() |
S |
81 |
1 |
3 |